package com.ft.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ft
 * @since 2022-06-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("shopping_cart")
public class Cart implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 购物车表
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 商品id
     */
    private Integer cm_id;

    /**
     * 用户id
     */
    private Integer user_id;

    /**
     * 商品数量
     */
    private Integer quantity;

    /**
     * 商品创建时间
     */
    private LocalDateTime create_time;

    /**
     * 商品修改时间
     */
    private LocalDateTime update_time;


}
